﻿using System;
namespace Meeting.Model
{
    /// <summary>
    /// 会议相关文档表
    /// </summary>
    [Serializable]
    public partial class MeetingDocument
    {
        public MeetingDocument()
		{}
		#region Model
		private int _id;
		private int _meetingid;
		private int _topicid;
		private int _sort=1;
		private string _path= "";
		private string _name="";
		private string _format="";
		private DateTime _uploaddate= DateTime.Now;
        private string _comment = "";
		private bool _isactive=true;
		private int _imagecount=0;
		/// <summary>
		/// 主键
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 所属会议主键
		/// </summary>
		public int MeetingId
		{
			set{ _meetingid=value;}
			get{return _meetingid;}
		}
		/// <summary>
		/// 所属会议主键
		/// </summary>
		public int TopicId
		{
			set{ _topicid=value;}
			get{return _topicid;}
		}
		/// <summary>
		/// 文档序号（会议内文档排序）
		/// </summary>
		public int Sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 文件路径
		/// </summary>
		public string Path
		{
			set{ _path=value;}
			get{return _path;}
		}
		/// <summary>
		/// 文件名称
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 文件格式
		/// </summary>
		public string Format
		{
			set{ _format=value;}
			get{return _format;}
		}
		/// <summary>
		/// 文件上传时间
		/// </summary>
		public DateTime UploadDate
		{
			set{ _uploaddate=value;}
			get{return _uploaddate;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string Comment
		{
			set{ _comment=value;}
			get{return _comment;}
		}
		/// <summary>
		/// 是否有效
		/// </summary>
		public bool IsActive
		{
			set{ _isactive=value;}
			get{return _isactive;}
		}
		/// <summary>
		/// 文档转换为图片的数量
		/// </summary>
		public int ImageCount
		{
			set{ _imagecount=value;}
			get{return _imagecount;}
		}
		#endregion Model

    }
}

